package com.xuxiang.cloud.ribbon;

import com.netflix.loadbalancer.RetryRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author xuxiang 2019/5/30 16:47
 */
/*@Configuration
@ExcludeFromComponentScan*/
public class Configuration1 {

    @Bean
    public RetryRule getRule() {
        return new RetryRule();
    }
}
